<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page pageEncoding="UTF-8" %>
<%@ include file="../common/common.jsp"%>
<%@ page import="jp.co.technotree.apl.api.common.Message" %>
<%@ page import="jp.co.technotree.apl.cmd.order.Odr6000Bean;" %>
<jsp:useBean id="formBean" class="jp.co.technotree.apl.cmd.order.Odr6000Bean" scope="request" />
<%
	String userId = formBean.getUserId();
	String userNm = formBean.getUserNm();

    if(userNm == null) userNm="";

    Odr6000Bean.Record[] recordList = formBean.getRecordList();
    Odr6000Bean.UserRecord[] userRecordList = formBean.getUserRecordList();
    
  //--------------------------------------------ページングＳＴＡＲＴ------------------------------------------------------------------------
  	Odr6000Bean.PagerData[] pagerDataList = formBean.getPagerDataList();

  	int nowPageNo = formBean.getPageNo();


  	//初期ページが0になっていたら1にする
  	if(nowPageNo == 0){
  		nowPageNo = 1;
  	}

  	int prevPageNo = nowPageNo - 1;
  	int nextPageNo = nowPageNo + 1;

  	int stPage = 1;
  	int edPage = 0;


  	if(pagerDataList != null){
  		edPage = pagerDataList.length;
  	}

  	int startLoopNum = formBean.getStartLoopNum();
  	int endLoopNum = formBean.getEndLoopNum();
  	int sideNum = 5;

  	boolean isPrev = (nowPageNo != stPage);
  	boolean isNext = (nowPageNo != edPage);
  	boolean isMinPrev = (nowPageNo - sideNum > stPage);
  	boolean isMaxNext = (nowPageNo + sideNum < edPage);
  	//--------------------------------------------ページングＥＮＤ------------------------------------------------------------------------
%>
<html>
	<head>
		<title>予備品管理システム - 予備品発注管理一覧画面</title>
		<link rel="SHORTCUT ICON" href="../common/img/default/sys_icon.ico">

		<link rel='stylesheet' type='text/css' href='../../common/css/common/base.css' >
		<link rel='stylesheet' type='text/css' href='../../common/css/common/common.css'>
		<link rel='stylesheet' type='text/css' href='../../common/css/order/odr6000.css'>

		<script language="javascript" src="../../common/js/base.js"></script>
		<script language="javascript" src="../../common/js/menu/topmenu.js"></script>

		<!-- ITEM-DROPDOWN START -->
		<link rel="stylesheet" href="../../common/js/dropdown/dropdown.css" type="text/css">
		<script src="../../common/js/dropdown/dropdown.js" type="text/javascript"></script>
		<!-- ITEM-DROPDOWN END -->
		
		<!--ポップアップ用-->
		<link rel='stylesheet' type='text/css' href='../../common/css/popUpPc.css' >
		<script type='text/javascript' src='../../common/js/popUpPc.js'></script>
		
		<!-- システムログ -->
		<script src="../../common/js/systemlog.js"></script>

<style type='text/css'>
	.LinkItem {
		cursor: pointer;
	}
	.div-wid {
		border-bottom:solid 1px #ccc;
		width:1260px; /* 横幅合計 + スクロールバー分 */
		height:450px;
		overflow:auto;
	}
	.txtmode1 {
			 ime-mode: active;   /* 全角モード */
	}
	.txtmode2 {
				ime-mode: inactive; /* 半角モード */
	}
	.txtmode3 {
				ime-mode: disabled; /* 半角のみモード */
	}
</style>

<script language="javascript">

function onInit(){

	//-------------------------------------------------------------------------
	//<!-- ITEM-DROPDOWN START -->
	var panel = document.getElementById("dropdown-panel");
	var input = document.getElementById("addTable");
	var targetList = getElementsByClassName(input,"input","item",true);
	
	dropdown = new CItemDropDownList(targetList,panel,"drop-contents");
	dropdown.setKeyUpEvent(text_onKeyUp);
	dropdown.setSelectEvent(list_onSelect);
	
	//
	dropdown.serverURL="../odr3001/odr3001";
	//<!-- ITEM-DROPDOWN END -->
	//-------------------------------------------------------------------------
	
}


function nextPageJump(nextPage){
	mainForm = document.getElementById("F1");
	document.getElementById("nextPage").value = nextPage;
	mainForm.submit();
}

//登録ボタンからの遷移
function insertPageJump(nextPage,dataId){
	mainForm = document.getElementById("F1");
	document.getElementById("nextPage").value = nextPage;
	document.getElementById("dataId").value = dataId;
	mainForm.submit();
}

//通常検索
function formSubmit() {
	var frm = document.main;
	if(frm.findOdrDtYear.value){
		if(frm.findOdrDtMonth.value){
			if(!(Number(frm.findOdrDtMonth.value) >= 1 && Number(frm.findOdrDtMonth.value) <= 12)){
				alert_Custom("<%=Message.getMessage("WRN00030").replace("$1","発注日（月）")%>");
				return;
			}
		}
		//ページ番号初期化
		frm.pageNo.value ="1";
		//ソートクリア-----------------------
		frm.columnSortText.value = "";
		frm.columnSortSelect.value = "";
		//-----------------------------------
		frm.cmd.value = "cmd01";
		frm.submitFlag.value = "1";
		frm.submit();
	}else{
		alert_Custom("<%=Message.getMessage("WRN00010").replace("$1","発注日（年）")%>");
		return;
	}
}
//ソート
function changeColumnSort(key) {
	var formName = "main";
	var frm = document[formName];
	frm.columnSortSelect.value = key;
	frm.submitFlag.value = "1";
	
	if(frm.findOdrDtYear.value){
		if(frm.findOdrDtMonth.value){
			if(!(Number(frm.findOdrDtMonth.value) >= 1 && Number(frm.findOdrDtMonth.value) <= 12)){
				alert_Custom("<%=Message.getMessage("WRN00030").replace("$1","発注日（月）")%>");
				return;
			}
		}
		//ページ番号初期化
		frm.pageNo.value ="1";
		frm.cmd.value = "cmd01";
		frm.submitFlag.value = "1";
		frm.submit();
	}else{
		alert_Custom("<%=Message.getMessage("WRN00010").replace("$1","発注日（年）")%>");
		return;
	}
}

//-------------------------------------------------------------------------
//<!-- ポップアップ START -->

//パップアップ解除
function back(){
	document.getElementById("opAlertBtn").style.display = "none";
	document.getElementById("opAlert").style.display = "none";
	document.getElementById("opAlertButton").style.display = "none";
	document.getElementById("opAlertTop").style.display = "none";
	document.getElementById("allbackgr").style.display = "none";
}

//<!-- ポップアップ END -->
//-------------------------------------------------------------------------


//-------------------------------------------------------------------------
//<!-- ITEM-DROPDOWN START -->
var dropdown = null;

var inputDateTime = null;
var timerId = null;
var eventSrc={};
function text_onKeyUp(object,sender,evt){
	var value = sender.value;
	eventSrc.object = object;
	eventSrc.sender = sender;
	eventSrc.evt = evt;
	inputDateTime = new Date();
	//-----------------------------------------------
	//品番自動ハイフン「-」を付ける
	var chkLen=5;
	if(event.keyCode != 0008){
		//指定の桁以上ならスタート
		if(value.length>=chkLen){
			var hikaku = value.substring(chkLen, chkLen+1);
			if(hikaku != "-"){
				var frontValue = value.substring(0, chkLen);
				var backValue  = value.substring(chkLen, value.length);
				sender.value=frontValue+"-"+backValue;
			}
		}
	}
	//小文字を大文字へ
	sender.value = sender.value.toUpperCase();
	value = sender.value;
	//-----------------------------------------------
	if ( value.length >= <%=formBean.getGohoKensu() %> ){
		if ( evt.keyCode == 37 || evt.keyCode == 39 ){
			
		}else{
			if ( timerId == null ){
				// 連続送信防止
				timerId = window.setTimeout(function(){text_onTimeOut(object,sender,evt);},500);
			}
		}
	}
}

/**
* 一定時間入力が止まった場合に動作
*/
function text_onTimeOut(object,sender,evt){
	var nowDateTime = new Date();
	var lngTime = (nowDateTime.getTime()-inputDateTime.getTime());
	if ( lngTime >= 1000 ){
		timerId = null;
		xmlRequest(object,sender,evt);
	}else{
		timerId = window.setTimeout(function(){text_onTimeOut(eventSrc.object,eventSrc.sender,eventSrc.evt);},500);
	}
}

/**
* XML要求処理
*/
function xmlRequest(object,sender,evt){
	//alert(evt.keyCode);
	var table = document.getElementById("drop-contents");
	table.innerHTML="";
	
	var top = calculateOffsetTop(sender);
	var left = calculateOffsetLeft(sender);
	var height = sender.offsetHeight;
	var panel = document.getElementById("dropdown-panel");
	panel.style.top=top+height+"px";
	panel.style.left=left+"px";
	panel.style.display="block";
	
	var param="cate=odr6000&itemCd="+sender.value;
	
	var formName = "main";
	var frm = document[formName];
	var findOdrDtYear=frm.findOdrDtYear.value;
	var findOdrDtMonth=frm.findOdrDtMonth.value;
	
	if(findOdrDtYear!=""){
		 param+="&findOdrDtYear="+findOdrDtYear;
	}
	if(findOdrDtMonth!=""){
		 param+="&findOdrDtMonth="+findOdrDtMonth;
	}
	
	try {
		var frm = document.main;
		var objs = frm["invCate"];
		if (objs[1].checked == true){
			//仮入出庫
			param += "&afterProc=1";
		}
	} catch (e) {
		
	}

	object.doXmlRequest(object,sender,param);
}


/**
* リスト選択時コールバック処理
*/
function list_onSelect(object,sender,json){
	var panel = document.getElementById("dropdown-panel");
	panel.style.display="none";
	sender.focus();
	
	//----------
	var name=sender.name;
	var idx=name.substring(name.indexOf("[")+1,name.length-1);
	
	document.getElementById("findItemNo").value=json.itemcd;
	
}


function getElementsByClassName(parent,tagName,className,fullMatch){
	var i=0,j=0;
	var result = [], cnt = 0;
	var list = parent.getElementsByTagName(tagName);
	for ( i=0; i<list.length; i++ ){
		var name = list[i].className;
		if ( name ){
			var nameList = name.split(' ');
			for ( j=0; j<nameList.length; j++ ){
				if ( fullMatch ){
					if ( nameList[j] == className ){
						result[cnt++] = list[i];
					}
				}else{
					if ( nameList[j].indexOf(className) != -1 ){
						result[cnt++] = list[i];
					}
				}
			}
		}
	}
	return result;
}
function closeBtn(){
	var panel = document.getElementById("dropdown-panel");
	panel.style.display="none";
} 
//----------------------------------------------------------------------

//クリアボタン
function findClearBtn(){
	location.href = "../odr3000/odr3000";
}

//ページングリンクを押したときの処理
function wzdPager(pageNo) {
	var frm = document.forms["main"];

	frm.pageNo.value=pageNo;
	frm.submitFlag.value="1";
	frm.cmd.value='cmd01';
	frm.submit();

}

//数字しか入力できないように
function numberKeyPress(){
	//備考：少数点とかマイナスを入力させるには48ではなく45かな？
	if ((event.keyCode < 48) || (event.keyCode > 57)){event.returnValue = false;};
}

//クリアボタン
function findClearBtn(){
	var frm = document.main;
	//ソートクリア-----------------------
	frm.columnSortText.value = "";
	frm.columnSortSelect.value = "";
	//-----------------------------------
	frm.cmd.value = "cmd01";
	frm.findRsvDiv.value = "";
	frm.findOdtSts.value = "";
	frm.findOdrDtYear.value = "";
	frm.findOdrDtMonth.value = "";
	frm.findOdrUsr.value = "";
	frm.findItemNo.value = "";
	frm.findOdrSeq.value = "";
	frm.submit();
	//location.href = "../odr6000/odr6000";
}
</script>

	</head>

	<body onLoad="onInit()" style="margin: 0px 4px 0px 0px;">
		<form class="frmMain" name="main" id="F1" action="./odr6000" method="post" enctype="multipart/form-data" onsubmit="return false;">
			<table class="tblMain" width="100%" cellspacing="0" cellpadding="0" border="0">
				<tr>
					<td valign="top">
						<table class='main-width-tb'  cellspacing='0' cellpadding='0' border='0'><tr><td></td></tr></table>
						<table class='main-height-tb' cellspacing='0' cellpadding='0' border='0'><tr><td></td></tr></table>

						<!-- Header Menu START -->
						<div class="header-title">予備品管理システム(<%=formBean.kojou%>)</div>
						<!-- Header Menu END -->

						<!-- ***** [FORM] MAIN-FORM ***** -->
						<div id="lc-out" style="z-index: 0;">
							<div id="lc-in" style="z-index: 0">


									<div class="subtitle">予備品発注管理一覧画面</div>

									<!-- header menu -->
									<table  border="0" style="width: 98%; margin-left: 35px;">
										<tr>
											<td>
												<table id="addTable"  border="0" width="98%">
													<tr>
														<td>
															予備品：
														</td>
														<td>
															<select name="findRsvDiv" id="findRsvDiv" class="selectStyle" style="width:160px;">
															<option value="" <%=("".equals(formBean.getFindRsvDiv()))?"selected":"" %>>全て</option>
															<option value="0" <%=("0".equals(formBean.getFindRsvDiv()))?"selected":"" %>>直結看板予備品</option>
															<option value="1" <%=("1".equals(formBean.getFindRsvDiv()))?"selected":"" %>>直結看板以外予備品</option>
															</select>
														</td>
														<td>
															表示区分：
														</td>
														<td>
															<select name="findOdtSts" id="findOdtSts" class="selectStyle" style="width:120px;">
															<option value="00001" <%=("00001".equals(formBean.getFindOdtSts()))?"selected":"" %>>全て</option>
															<option value="00002" <%=("00002".equals(formBean.getFindOdtSts()))?"selected":"" %>>未入荷</option>
															<option value="00003" <%=("00003".equals(formBean.getFindOdtSts()))?"selected":"" %>>余剰</option>
															<option value="00004" <%=("00004".equals(formBean.getFindOdtSts()))?"selected":"" %>>完了</option>
															<option value="00005" <%=("00005".equals(formBean.getFindOdtSts()))?"selected":"" %>>キャンセル</option>
															</select>
														</td>
														<td >
															年度：
														</td>
														<td>
															<input type="text" class="DetailDate inputStyle txtmode3" style="width:50px;" name="findOdrDtYear" value="<%=formBean.getFindOdrDtYear()%>" onKeyPress="numberKeyPress();" maxlength="4">年
															<input type="text" class="DetailDate inputStyle txtmode3" style="width:50px;" name="findOdrDtMonth" value="<%=formBean.getFindOdrDtMonth()%>" onKeyPress="numberKeyPress();" maxlength="2">月
														</td>
														<td colspan="1">
														</td>
														<td>
															<input type="image" src="../../common/img/pc/btn_clear_off.png" onclick="findClearBtn();" alt="クリア">
														</td>
													</tr>
													<!-- スペース -->
													<tr style="height: 20px;"><td></td></tr>
													<tr>
														<td>
															担当：
														</td>
														<td>
															<select name="findOdrUsr" class="selectStyle" style="width:160px;">
															<option value=""></option>
															<%
																if ( userRecordList!=null) {
																	for (int i=0; i<userRecordList.length; i++) {
																		Odr6000Bean.UserRecord userRecord=userRecordList[i];
															%>
																<option value="<%=userRecord.userId%>" <%=userRecord.userId.equals((formBean.getFindOdrUsr())) ? " selected " : "" %>>
																	<%=userRecord.userNm%>
																</option>
															<%
																	}
																}
															%>
															</select>
														</td>
														<td >
															Y品番：
														</td>
														<td>
															<input id="findItemNo" type="text" class="item inputStyle txtmode3" style="width:120px;" name="findItemNo" value="<%=formBean.getFindItemNo()%>" maxlength="11">
														</td>
														<td>
															手配連番<br>
															(管理番号)：
														</td>
														<td>
															<input type="text" class="inputStyle" style="width:120px;" name="findOdrSeq" value="<%=formBean.getFindOdrSeq()%>" maxlength="11">
														</td>
														<td style="width:120px;">
															<input type="image" src="../../common/img/pc/btn_search_off.png" onclick="formSubmit();"  alt="検索">
														</td>
														<td style="width:120px;">
															<input type="image" src="../../common/img/pc/btn_back_off.png" onclick="nextPageJump('odr5000');">
														</td>
													</tr>
												</table>
												<!-- スペース -->
												<table style="height: 30px;"><tr><td></td></tr></table>
											</td>
										</tr>
									</table>
							</div><!-- lc-in End -->
							<div id="lc-in_under" style="z-index: 0">
								<!-- スペース -->
								<table style="height: 20px;"><tr><td></td></tr></table>
<!-- :::::::::::::::::::::::::::::::::::::::::::::::::::ページング START:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->

<%
int recordCount = 0;
if (recordList != null) {
	recordCount = recordList.length;
}
if ("1".equals(formBean.getSubmitFlag())&& recordCount > 0) {
%>
				<table id="tblPager" width=""  align="center">
					<tr align="left">
						<td id="tblPager2" align="right" width="">
				<%
					if(isMinPrev){
				%>
							<a id="pagerBtnLinkNoBorder" href="javascript:wzdPager(<%= stPage %>);"><<<</a>&nbsp;&nbsp;&nbsp;&nbsp;
				<%
					}
				%>
						</td>
						<td id="tblPager2" align="right" width="">
				<%
					if(isPrev){
				%>
							<a id="pagerBtnLinkNoBorder" href="javascript:wzdPager(<%= prevPageNo %>);">前へ</a>&nbsp;&nbsp;&nbsp;&nbsp;
				<%
					}
				%>
						</td>
						<td id="tblPager2" align="center" width="">
				<%
					for(int i=startLoopNum;i<endLoopNum;i++){
						Odr6000Bean.PagerData pageData = pagerDataList[i];

						if(nowPageNo == pageData.Page){
				%>
							&nbsp;<span id="pagerLinkBorder"><a id="pagerLink" name="<%= pageData.Page %>" href="javascript:wzdPager(<%= pageData.Page %>);"><%= pageData.Page %></a></span>&nbsp;
				<%
						}else{
				%>
							&nbsp;<span id="pagerBtnLinkBorder"><a id="pagerBtnLink" href="javascript:wzdPager(<%= pageData.Page %>);"><%= pageData.Page %></a></span>&nbsp;
				<%
						}
					}
				%>
						</td>

						<td id="tblPager2" align="left" width="">
				<%
					if(isNext){
				%>
&nbsp;&nbsp;&nbsp;&nbsp;
							<a id="pagerBtnLinkNoBorder" href="javascript:wzdPager(<%= nextPageNo %>);">次へ</a>
				<%
					}
				%>
						</td>
						<td id="tblPager2" align="left" width="">
				<%
					if(isMaxNext){
				%>
&nbsp;&nbsp;&nbsp;&nbsp;
							<a id="pagerBtnLinkNoBorder" href="javascript:wzdPager(<%= edPage %>);">>>></a>
				<%
					}
				%>
						</td>
					</tr>
				</table><br>
	<%}
 %>

<!-- :::::::::::::::::::::::::::::::::::::::::::::::ページング END:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
								<!-- 一覧 -->
								<table  border="0" style=" margin-left: 50px;">
									<tr>
										<td>
											<!-- header column start -->
											<table  border="1" width="1240px" height="30px" class="data-grid" >
												<thead>
													<tr>
														<th class="TblField1" style="background-color: #CAE1FF;">&nbsp;</th>
														<th class="TblField2" style="background-color: #CAE1FF;" onclick="changeColumnSort('tro.odr_dt');">発注日	<%=formBean.getSort().getSortText("tro.odr_dt")%></th>
														<th class="TblField3" style="background-color: #CAE1FF;" onclick="changeColumnSort('mu.usr_nm');">担当		<%=formBean.getSort().getSortText("mu.usr_nm")%></th>
														<th class="TblField4" style="background-color: #CAE1FF;" onclick="changeColumnSort('tro.odr_meth');">区分	<%=formBean.getSort().getSortText("tro.odr_meth")%></th>
														<th class="TblField5" style="background-color: #CAE1FF;" onclick="changeColumnSort('item_no');">Y品番		<%=formBean.getSort().getSortText("item_no")%></th>
														<th class="TblField6" style="background-color: #CAE1FF;" onclick="changeColumnSort('mrs.item_nm');">品名		<%=formBean.getSort().getSortText("mrs.item_nm")%></th>
														<th class="TblField7" style="background-color: #CAE1FF;" onclick="changeColumnSort('mrs.model');">型式			<%=formBean.getSort().getSortText("mrs.model")%></th>
														<th class="TblField8" style="background-color: #CAE1FF;" onclick="changeColumnSort('tro.odr_seq');">手配連番	<%=formBean.getSort().getSortText("tro.odr_seq")%></th>
														<th class="TblField9" style="background-color: #CAE1FF;" onclick="changeColumnSort('tro.lead_tm');">L/T			<%=formBean.getSort().getSortText("tro.lead_tm")%></th>
														<th class="TblField10" style="background-color: #CAE1FF;" onclick="changeColumnSort('tra.arr_dt');">入荷日		<%=formBean.getSort().getSortText("tra.arr_dt")%></th>
														<th class="TblField11" style="background-color: #CAE1FF;" onclick="changeColumnSort('trs.comp_dt');">完了日		<%=formBean.getSort().getSortText("trs.comp_dt")%></th>
														<th class="TblField12" style="background-color: #CAE1FF;" onclick="changeColumnSort('tro.order_num');">発注		<%=formBean.getSort().getSortText("tro.order_num")%></th>
														<th class="TblField13" style="background-color: #CAE1FF;" onclick="changeColumnSort('arr_num');">入荷	<%=formBean.getSort().getSortText("arr_num")%></th>
														<th class="TblField14" style="background-color: #CAE1FF;" onclick="changeColumnSort('use_num');">使用	<%=formBean.getSort().getSortText("use_num")%></th>
														<th class="TblField15" style="background-color: #CAE1FF;">&nbsp;</th>
													</tr>
												</thead>
											</table><!-- header column end -->
											<!-- data column -->
											<div class="div-wid" id="div-wid">
<%if("1".equals(formBean.getSubmitFlag())){%>
											<table  border="1" width="1240px" height="30px" class="data-grid">
<%
		if ( recordList!=null) {
			if ( recordList.length == 0 ){
%>			
			<tr height="120px">
				<td colspan="12">データが存在しません。</td>
			</tr>
<%			
			}
			for (int i=0; i<recordList.length; i++) {
				Odr6000Bean.Record record=recordList[i];
				//担当者のスプリット
				String usrNm = record.usrNm;
				String[] strUsrNm = usrNm.split("\\s+");;
				if(strUsrNm.length > 1){
					usrNm = strUsrNm[0];
				}
%>
														<tr class="<%=record.disStyle%>" style="background-color: <%=("true".equals(record.colorFlg))?"#FFFFFF":"" %>">
															<td class="TblField1 TxtCenter">
																<!-- ２ページ目以降も連番で表示されるように計算 -->
																<%=(i+1)+((nowPageNo-1)*formBean.getLimit())%>
															</td>
															<td class="TblField2"><%=record.odrDt%></td>
															<td class="TblField3"><%=usrNm%></td>
															<td class="TblField4"><%=record.odrMethKbn%></td>
															<td class="TblField5">
																<!-- 仮品番なら品番なし -->
																<%if("1".equals(record.tempFlg)){%>
																	品番なし
																<%}else{%>
																	<%=record.itemNo%>
																<%}%>
															</td>
															<td class="TblField6"><%=record.itemNm%></td>
															<td class="TblField7"><%=record.model%></td>
															<td class="TblField8"><%=record.odrSeq%></td>
															<td class="TxtRight TblField9"><%=record.leadTm%></td>
															<td class="TblField10"><%=record.arrDt%></td>
															<td class="TblField11"><%=record.compDt%></td>
															<td class="TxtRight TblField12"><%=record.orderNum%></td>
															<td class="TxtRight TblField13"><%=record.arrNum%></td>
															<td class="TxtRight TblField14"><%=record.useNum%></td>
															<td class="TxtCenter TblField15"><input type="button" value="参照" onclick="insertPageJump('inv3000','<%=record.odrNo%>')"></td>
														</tr>
<% 	
			}
		}
%>
											</table>
<%}%>
											</div>
										</td>
									</tr>
								</table>

							</div><!-- lc-in_under End -->


							<!-- ログ Start -->
							<!-- ログ End -->

						</div><!-- lc-out  -->
					</td>
				</tr>
			</table>

			<input type="hidden" name="cmd" value="cmd01">
			<input type="hidden" name="submitFlag" value="0">
			<input type="hidden" id="nextPage" name="nextPage" value="">
			<input type="hidden" id="dataId" name="dataId" value="">
			<!-- :::::::::::::::::::::::::::::::::::::::::::::::::::ページング START:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
			<input type="hidden" name="pageNo" value="<%= nowPageNo %>">
			<input type="hidden" name="selectPageNo" value="<%=formBean.getSelectPageNo()%>">
			<!-- :::::::::::::::::::::::::::::::::::::::::::::::ページング END:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
			<!-- カラムソート -->
			<input type="hidden" name="columnSortText" value="<%=formBean.getColumnSortText()%>">
			<input type="hidden" name="columnSortSelect" value="">
			
<!-- ITEM-DROPDOWN START -->
<div class="dropdown-panel" id="dropdown-panel">
	<div class="dropdown-panel-in">
		<div class="header">
			<div style="float:left;width:100px;height:20px;">
				<table border=0>
					<tr>
						<td style="width:100px;height:20px;">品番</td>
					</tr>
				</table>
			</div>
			<div style="float:right;width:40px;text-align:right;">
				<button class="closebtn" type="button" onClick="closeBtn();" style="width:18px;height:17px; padding:0px;">
					<img src="../../common/js/dropdown/close.gif" alt="閉じる">
				</button>
			</div>
		</div>
		<div class="drop-contents" id="drop-contents">
		</div>
		<div class="footer"></div>
	</div>
</div>
<!-- ITEM-DROPDOWN END -->
	<!--警告 ポップアップ---------------------------------------------------------------------------- -->
	<div id="allbackgr" class="allbackgr" style="display:none;"></div>
	<div class="opAlertBtn" id = "opAlertBtn" style="display:none;" ></div>
	<div class="opAlertButton" id = "opAlertButton" style="display:none;" ></div>
	<div class="opAlertTop" id = "opAlertTop" style="display:none; font-size:22px;">　予備品管理システム　</div>
	<div class="opAlert" id = "opAlert" style="display:none;"></div>
	<!-- -------------------------------------------------------------------------------------------- -->
		</form>
	</body>
</html>
